package com.company;

public class School {
    {
        System.out.println("School的非静态代码块");
    }

    static {
        System.out.println("School的静态代码块");
    }
    public String name = "tjise";

    public School() {
        System.out.println("School的构造方法");
    }



    public School(String name) {
        this.name = name;
        System.out.println("父类构造方法");
    }
}
